package com.situ.mvc.service;

import java.util.List;

import com.situ.mvc.entity.Course;
import com.situ.mvc.entity.PageBean;

public interface ICourseService {
	/*展示*/
	public abstract List<Course> list();
	//根据id删除
	public abstract boolean deleteById(Integer id);
	//分页
	public abstract PageBean<Course> getPagBean(int pageNo, int pageSize);
	//添加避免班级重复
	public abstract boolean checkName(String name);
	//插入数据
	public abstract boolean insert(Course course);
	//修改前，查找数据
	public abstract Course findById(Integer id);
	//修改
	public abstract boolean update(Course course);
	//批量删除
	public abstract boolean deleteAll(String[] selectIds);
	
}
